﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000285 RID: 645
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueQueryAeonDimensionsScRsp : IMessage<ChessRogueQueryAeonDimensionsScRsp>, IMessage, IEquatable<ChessRogueQueryAeonDimensionsScRsp>, IDeepCloneable<ChessRogueQueryAeonDimensionsScRsp>, IBufferMessage
	{
		// Token: 0x1700086B RID: 2155
		// (get) Token: 0x06001CEA RID: 7402 RVA: 0x0005286F File Offset: 0x00050A6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueQueryAeonDimensionsScRsp> Parser
		{
			get
			{
				return ChessRogueQueryAeonDimensionsScRsp._parser;
			}
		}

		// Token: 0x1700086C RID: 2156
		// (get) Token: 0x06001CEB RID: 7403 RVA: 0x00052876 File Offset: 0x00050A76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueQueryAeonDimensionsScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700086D RID: 2157
		// (get) Token: 0x06001CEC RID: 7404 RVA: 0x00052888 File Offset: 0x00050A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueQueryAeonDimensionsScRsp.Descriptor;
			}
		}

		// Token: 0x06001CED RID: 7405 RVA: 0x0005288F File Offset: 0x00050A8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonDimensionsScRsp()
		{
		}

		// Token: 0x06001CEE RID: 7406 RVA: 0x00052898 File Offset: 0x00050A98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonDimensionsScRsp(ChessRogueQueryAeonDimensionsScRsp other) : this()
		{
			this.info_ = ((other.info_ != null) ? other.info_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001CEF RID: 7407 RVA: 0x000528E4 File Offset: 0x00050AE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonDimensionsScRsp Clone()
		{
			return new ChessRogueQueryAeonDimensionsScRsp(this);
		}

		// Token: 0x1700086E RID: 2158
		// (get) Token: 0x06001CF0 RID: 7408 RVA: 0x000528EC File Offset: 0x00050AEC
		// (set) Token: 0x06001CF1 RID: 7409 RVA: 0x000528F4 File Offset: 0x00050AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonInfo Info
		{
			get
			{
				return this.info_;
			}
			set
			{
				this.info_ = value;
			}
		}

		// Token: 0x1700086F RID: 2159
		// (get) Token: 0x06001CF2 RID: 7410 RVA: 0x000528FD File Offset: 0x00050AFD
		// (set) Token: 0x06001CF3 RID: 7411 RVA: 0x00052905 File Offset: 0x00050B05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06001CF4 RID: 7412 RVA: 0x0005290E File Offset: 0x00050B0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueQueryAeonDimensionsScRsp);
		}

		// Token: 0x06001CF5 RID: 7413 RVA: 0x0005291C File Offset: 0x00050B1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueQueryAeonDimensionsScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.Info, other.Info) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001CF6 RID: 7414 RVA: 0x0005296C File Offset: 0x00050B6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.info_ != null)
			{
				num ^= this.Info.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001CF7 RID: 7415 RVA: 0x000529C1 File Offset: 0x00050BC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001CF8 RID: 7416 RVA: 0x000529C9 File Offset: 0x00050BC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001CF9 RID: 7417 RVA: 0x000529D4 File Offset: 0x00050BD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.info_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.Info);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001CFA RID: 7418 RVA: 0x00052A30 File Offset: 0x00050C30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.info_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Info);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001CFB RID: 7419 RVA: 0x00052A88 File Offset: 0x00050C88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueQueryAeonDimensionsScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.info_ != null)
			{
				if (this.info_ == null)
				{
					this.Info = new ChessRogueQueryAeonInfo();
				}
				this.Info.MergeFrom(other.Info);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001CFC RID: 7420 RVA: 0x00052AF0 File Offset: 0x00050CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001CFD RID: 7421 RVA: 0x00052AFC File Offset: 0x00050CFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.info_ == null)
					{
						this.Info = new ChessRogueQueryAeonInfo();
					}
					input.ReadMessage(this.Info);
				}
			}
		}

		// Token: 0x04000BF5 RID: 3061
		private static readonly MessageParser<ChessRogueQueryAeonDimensionsScRsp> _parser = new MessageParser<ChessRogueQueryAeonDimensionsScRsp>(() => new ChessRogueQueryAeonDimensionsScRsp());

		// Token: 0x04000BF6 RID: 3062
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000BF7 RID: 3063
		public const int InfoFieldNumber = 4;

		// Token: 0x04000BF8 RID: 3064
		private ChessRogueQueryAeonInfo info_;

		// Token: 0x04000BF9 RID: 3065
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04000BFA RID: 3066
		private uint retcode_;
	}
}
